home *** CD-ROM | disk | FTP | other *** search
- echo $1 $2 $3 $4 $5
- if test $2 == ConnorAction
- if test $4 == do
- if test $Daventry::Starglobe::Potion == 1
- give Clarity
- deleteObject potion
- set Daventry::Starglobe::Potion 2
- else
- echo Say something
- KQMonster::speak Connor Connor 1000 64 0 61 1 0
- endif
- else if test $4 == INVITEM_SpellPage
- sendEvent 0 $1 KQAnimPlayEvent open
- sendEvent 0 Connor KQStatsChangeRequestEvent 0 0 0 0 15
- getEndLoop $1 $1 1
- deleteObject $3
- endif
- endif
- else if test $2 == Cue
- if test $3 == 300
- if test $5 == open
- echo open is done
- sendEvent 0 $1 KQAnimPlayEvent lid
- set Daventry::Starglobe::Potion 1
- getEndLoop $1 $1 0
- loadKQ Potion.kq
- echo Say anything
- KQMonster::speak Connor Connor 1000 64 42 0 1 0
- endif
- endif
- endif
- endif
-